
var itstock_header_category = true;
var itstock_header_detalle_curso = true;
var itstock_header_add_category = true;

function itstock_add_hardware(id){
  HS(id, 'img'+id, 'plus.png', 'minus.png');
}

function itstock_show_category(id) {
  if(itstock_request('model', 'id=' + id, itstock_header_category, 'div_category')){
    itstock_header_category = false;
  }
}

function itstock_add_category(id) {
  if(itstock_request_popup('add_category', 'id=' + id, 430, 380, itstock_header_add_category)){
    itstock_header_add_category = false;
  }
}
